@@ -15,12 +15,12 @@ my %module_build_args = (
'configure_requires' => {
'Module::Build' => '0.3601'
},
- 'dist_abstract' => 'Add release tests using Test::CPAN::Changes',
+ 'dist_abstract' => 'Deprecated',
'dist_author' => [
'Randy Stauner <rwstauner@cpan.org>'
],
'dist_name' => 'Dist-Zilla-Plugin-CPANChangesTests',
- 'dist_version' => '1.001',
+ 'dist_version' => '1.002',
'license' => 'perl',
'module_name' => 'Dist::Zilla::Plugin::CPANChangesTests',
'recommends' => {},
@@ -1,5 +1,10 @@
Revision history for Dist-Zilla-Plugin-CPANChangesTests
+1.002 2011-04-11
+
+ - Deprecated in favor of the more configurable and better named
+ Dist::Zilla::Plugin::Test::CPAN::Changes
+
1.001 2011-02-09
- List Test::CPAN::Changes as a prerequisite.
@@ -14,8 +14,6 @@ t/release-distmeta.t
t/release-kwalitee.t
t/release-minimum-version.t
t/release-pod-coverage.t
-t/release-pod-linkcheck.t
-t/release-pod-no404s.t
t/release-pod-spell.t
t/release-pod-syntax.t
t/release-portability.t
@@ -1,10 +1,10 @@
{
- "abstract" : "Add release tests using Test::CPAN::Changes",
+ "abstract" : "Deprecated",
"author" : [
"Randy Stauner <rwstauner@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200003, CPAN::Meta::Converter version 2.102400",
+ "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -53,7 +53,7 @@
"provides" : {
"Dist::Zilla::Plugin::CPANChangesTests" : {
"file" : "lib/Dist/Zilla/Plugin/CPANChangesTests.pm",
- "version" : "1.001"
+ "version" : "1.002"
}
},
"release_status" : "stable",
@@ -69,43 +69,48 @@
"web" : "http://github.com/magnificent-tears/Dist-Zilla-Plugin-CPANChangesTests/tree"
}
},
- "version" : "1.001",
+ "version" : "1.002",
"x_Dist_Zilla" : {
"plugins" : [
{
- "class" : "Dist::Zilla::Plugin::Git::DescribeVersion",
- "name" : "@GopherRepellent/Git::DescribeVersion",
- "version" : "1.001011"
+ "class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "name" : "@GopherRepellent/Git::NextVersion",
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@GopherRepellent/GatherDir",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@GopherRepellent/PruneCruft",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@GopherRepellent/ManifestSkip",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
"name" : "@GopherRepellent/Authority",
- "version" : "1.001"
+ "version" : "1.004"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@GopherRepellent/NextRelease",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@GopherRepellent/PkgVersion",
- "version" : "4.200003"
+ "version" : "4.200004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prepender",
+ "name" : "@GopherRepellent/Prepender",
+ "version" : "1.103470"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -115,12 +120,12 @@
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@GopherRepellent/License",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@GopherRepellent/Readme",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Bugtracker",
@@ -130,7 +135,7 @@
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@GopherRepellent/Repository",
- "version" : "0.16"
+ "version" : "0.17"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -140,37 +145,37 @@
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@GopherRepellent/AutoPrereqs",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "@GopherRepellent/MetaNoIndex",
- "version" : "1.101550"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
"name" : "@GopherRepellent/MetaProvides::Package",
- "version" : "1.12044908"
+ "version" : "1.12060501"
},
{
"class" : "Dist::Zilla::Plugin::MinimumPerl",
"name" : "@GopherRepellent/MinimumPerl",
- "version" : "0.02"
+ "version" : "1.002"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@GopherRepellent/MetaConfig",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@GopherRepellent/MetaYAML",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@GopherRepellent/MetaJSON",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -181,32 +186,32 @@
}
},
"name" : "@GopherRepellent/TestMoreWithSubtests",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@GopherRepellent/ExtraTests",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@GopherRepellent/ExecDir",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@GopherRepellent/ShareDir",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@GopherRepellent/MakeMaker",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
"name" : "@GopherRepellent/ModuleBuild",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::DualBuilders",
@@ -216,7 +221,7 @@
{
"class" : "Dist::Zilla::Plugin::CompileTests",
"name" : "@GopherRepellent/CompileTests",
- "version" : "1.103030"
+ "version" : "1.110930"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -226,32 +231,27 @@
{
"class" : "Dist::Zilla::Plugin::CPANChangesTests",
"name" : "@GopherRepellent/CPANChangesTests",
- "version" : "1.001"
+ "version" : null
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@GopherRepellent/MetaTests",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@GopherRepellent/PodSyntaxTests",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@GopherRepellent/PodCoverageTests",
- "version" : "4.200003"
- },
- {
- "class" : "Dist::Zilla::Plugin::PodLinkTests",
- "name" : "@GopherRepellent/PodLinkTests",
- "version" : "1.004000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PodSpellingTests",
"name" : "@GopherRepellent/PodSpellingTests",
- "version" : "1.101420"
+ "version" : "1.103491"
},
{
"class" : "Dist::Zilla::Plugin::PortabilityTests",
@@ -271,7 +271,7 @@
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@GopherRepellent/Manifest",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
@@ -279,19 +279,39 @@
"version" : "0.003"
},
{
+ "class" : "Dist::Zilla::Plugin::Git::Check",
+ "name" : "@GopherRepellent/Git::Check",
+ "version" : "1.110500"
+ },
+ {
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@GopherRepellent/TestRelease",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@GopherRepellent/ConfirmRelease",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@GopherRepellent/UploadToCPAN",
- "version" : "4.200003"
+ "version" : "4.200004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "name" : "@GopherRepellent/Git::Commit",
+ "version" : "1.110500"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Tag",
+ "name" : "@GopherRepellent/Git::Tag",
+ "version" : "1.110500"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Push",
+ "name" : "@GopherRepellent/Git::Push",
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -302,27 +322,27 @@
}
},
"name" : "Prereqs",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200003"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200003"
+ "version" : "4.200004"
}
],
"zilla" : {
@@ -330,7 +350,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200003"
+ "version" : "4.200004"
}
},
"x_authority" : "cpan:RWSTAUNER"
@@ -1,5 +1,5 @@
---
-abstract: 'Add release tests using Test::CPAN::Changes'
+abstract: Deprecated
author:
- 'Randy Stauner <rwstauner@cpan.org>'
build_requires:
@@ -10,7 +10,7 @@ build_requires:
configure_requires:
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200003, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,7 +27,7 @@ no_index:
provides:
Dist::Zilla::Plugin::CPANChangesTests:
file: lib/Dist/Zilla/Plugin/CPANChangesTests.pm
- version: 1.001
+ version: 1.002
requires:
Dist::Zilla::Plugin::InlineFiles: 0
Moose: 0
@@ -37,37 +37,41 @@ resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-CPANChangesTests
homepage: http://github.com/magnificent-tears/Dist-Zilla-Plugin-CPANChangesTests/tree
repository: git://github.com/magnificent-tears/Dist-Zilla-Plugin-CPANChangesTests.git
-version: 1.001
+version: 1.002
x_Dist_Zilla:
plugins:
-
- class: Dist::Zilla::Plugin::Git::DescribeVersion
- name: '@GopherRepellent/Git::DescribeVersion'
- version: 1.001011
+ class: Dist::Zilla::Plugin::Git::NextVersion
+ name: '@GopherRepellent/Git::NextVersion'
+ version: 1.110500
-
class: Dist::Zilla::Plugin::GatherDir
name: '@GopherRepellent/GatherDir'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@GopherRepellent/PruneCruft'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@GopherRepellent/ManifestSkip'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Authority
name: '@GopherRepellent/Authority'
- version: 1.001
+ version: 1.004
-
class: Dist::Zilla::Plugin::NextRelease
name: '@GopherRepellent/NextRelease'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@GopherRepellent/PkgVersion'
- version: 4.200003
+ version: 4.200004
+ -
+ class: Dist::Zilla::Plugin::Prepender
+ name: '@GopherRepellent/Prepender'
+ version: 1.103470
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@GopherRepellent/PodWeaver'
@@ -75,11 +79,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::License
name: '@GopherRepellent/License'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Readme
name: '@GopherRepellent/Readme'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Bugtracker
name: '@GopherRepellent/Bugtracker'
@@ -87,7 +91,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Repository
name: '@GopherRepellent/Repository'
- version: 0.16
+ version: 0.17
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@GopherRepellent/GithubMeta'
@@ -95,31 +99,31 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@GopherRepellent/AutoPrereqs'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: '@GopherRepellent/MetaNoIndex'
- version: 1.101550
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaProvides::Package
name: '@GopherRepellent/MetaProvides::Package'
- version: 1.12044908
+ version: 1.12060501
-
class: Dist::Zilla::Plugin::MinimumPerl
name: '@GopherRepellent/MinimumPerl'
- version: 0.02
+ version: 1.002
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@GopherRepellent/MetaConfig'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@GopherRepellent/MetaYAML'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@GopherRepellent/MetaJSON'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -127,27 +131,27 @@ x_Dist_Zilla:
phase: test
type: requires
name: '@GopherRepellent/TestMoreWithSubtests'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@GopherRepellent/ExtraTests'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExecDir
name: '@GopherRepellent/ExecDir'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ShareDir
name: '@GopherRepellent/ShareDir'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@GopherRepellent/MakeMaker'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ModuleBuild
name: '@GopherRepellent/ModuleBuild'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::DualBuilders
name: '@GopherRepellent/DualBuilders'
@@ -155,7 +159,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::CompileTests
name: '@GopherRepellent/CompileTests'
- version: 1.103030
+ version: 1.110930
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@GopherRepellent/ReportVersions::Tiny'
@@ -163,27 +167,23 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::CPANChangesTests
name: '@GopherRepellent/CPANChangesTests'
- version: 1.001
+ version: ~
-
class: Dist::Zilla::Plugin::MetaTests
name: '@GopherRepellent/MetaTests'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@GopherRepellent/PodSyntaxTests'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@GopherRepellent/PodCoverageTests'
- version: 4.200003
- -
- class: Dist::Zilla::Plugin::PodLinkTests
- name: '@GopherRepellent/PodLinkTests'
- version: 1.004000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PodSpellingTests
name: '@GopherRepellent/PodSpellingTests'
- version: 1.101420
+ version: 1.103491
-
class: Dist::Zilla::Plugin::PortabilityTests
name: '@GopherRepellent/PortabilityTests'
@@ -199,23 +199,39 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Manifest
name: '@GopherRepellent/Manifest'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::CheckChangesHasContent
name: '@GopherRepellent/CheckChangesHasContent'
version: 0.003
-
+ class: Dist::Zilla::Plugin::Git::Check
+ name: '@GopherRepellent/Git::Check'
+ version: 1.110500
+ -
class: Dist::Zilla::Plugin::TestRelease
name: '@GopherRepellent/TestRelease'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@GopherRepellent/ConfirmRelease'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@GopherRepellent/UploadToCPAN'
- version: 4.200003
+ version: 4.200004
+ -
+ class: Dist::Zilla::Plugin::Git::Commit
+ name: '@GopherRepellent/Git::Commit'
+ version: 1.110500
+ -
+ class: Dist::Zilla::Plugin::Git::Tag
+ name: '@GopherRepellent/Git::Tag'
+ version: 1.110500
+ -
+ class: Dist::Zilla::Plugin::Git::Push
+ name: '@GopherRepellent/Git::Push'
+ version: 1.110500
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -223,26 +239,26 @@ x_Dist_Zilla:
phase: runtime
type: requires
name: Prereqs
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200003
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200003
+ version: 4.200004
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200003
+ version: 4.200004
x_authority: cpan:RWSTAUNER
@@ -9,7 +9,7 @@ use ExtUtils::MakeMaker 6.31;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'Add release tests using Test::CPAN::Changes',
+ 'ABSTRACT' => 'Deprecated',
'AUTHOR' => 'Randy Stauner <rwstauner@cpan.org>',
'BUILD_REQUIRES' => {
'File::Find' => '0',
@@ -29,7 +29,7 @@ my %WriteMakefileArgs = (
'Moose' => '0',
'Test::CPAN::Changes' => '0'
},
- 'VERSION' => '1.001',
+ 'VERSION' => '1.002',
'test' => {
'TESTS' => 't/*.t'
}
@@ -1,9 +1,9 @@
This archive contains the distribution Dist-Zilla-Plugin-CPANChangesTests,
-version 1.001:
+version 1.002:
- Add release tests using Test::CPAN::Changes
+ Deprecated
This software is copyright (c) 2011 by Randy Stauner.
@@ -1,11 +1,19 @@
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
package Dist::Zilla::Plugin::CPANChangesTests;
BEGIN {
- $Dist::Zilla::Plugin::CPANChangesTests::VERSION = '1.001';
+ $Dist::Zilla::Plugin::CPANChangesTests::VERSION = '1.002';
}
BEGIN {
$Dist::Zilla::Plugin::CPANChangesTests::AUTHORITY = 'cpan:RWSTAUNER';
}
-# ABSTRACT: Add release tests using Test::CPAN::Changes
+# ABSTRACT: Deprecated
use strict;
@@ -13,6 +21,16 @@ use warnings;
use Moose;
extends 'Dist::Zilla::Plugin::InlineFiles';
+before gather_files => sub {
+ my ($self) = @_;
+ $self->log($_) for (
+ '!',
+ __PACKAGE__ . ' is deprecated.',
+ 'Please use Dist::Zilla::Plugin::Test::CPAN::Changes.',
+ '!',
+ );
+};
+
__PACKAGE__->meta->make_immutable;
no Moose;
@@ -28,16 +46,19 @@ kwalitee diff irc mailto metadata placeholders
=head1 NAME
-Dist::Zilla::Plugin::CPANChangesTests - Add release tests using Test::CPAN::Changes
+Dist::Zilla::Plugin::CPANChangesTests - Deprecated
=head1 VERSION
-version 1.001
+version 1.002
=head1 SYNOPSIS
+This module is B<deprecated> in favor of the more configurable and better named
+L<Dist::Zilla::Plugin::Test::CPAN::Changes>.
+
# dist.ini
- [CPANChangesTests]
+ [Test::CPAN::Changes]
=head1 DESCRIPTION
@@ -52,11 +73,7 @@ following files:
=item *
-L<CPAN::Changes>
-
-=item *
-
-L<Test::CPAN::Changes>
+L<Dist::Zilla::Plugin::Test::CPAN::Changes>
=back
@@ -1,4 +1,12 @@
#!perl
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use strict;
use warnings;
@@ -24,7 +32,18 @@ find(
'lib',
);
-my @scripts = glob "bin/*";
+my @scripts;
+if ( -d 'bin' ) {
+ find(
+ sub {
+ return unless -f;
+ my $found = $File::Find::name;
+ # nothing to skip
+ push @scripts, $found;
+ },
+ 'bin',
+ );
+}
my $plan = scalar(@modules) + scalar(@scripts);
$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
eval 'use Test::CPAN::Changes';
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
@@ -1,29 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-
-use strict;
-use warnings;
-use Test::More;
-
-foreach my $env_skip ( qw(
- SKIP_POD_LINK_TESTS
- SKIP_POD_LINKCHECK
-) ){
- plan skip_all => "\$ENV{$env_skip} is set, skipping"
- if $ENV{$env_skip};
-}
-
-eval "use Test::Pod::LinkCheck";
-if ( $@ ) {
- plan skip_all => 'Test::Pod::LinkCheck required for testing POD';
-}
-else {
- Test::Pod::LinkCheck->new->all_pod_ok;
-}
@@ -1,30 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-
-use strict;
-use warnings;
-use Test::More;
-
-foreach my $env_skip ( qw(
- SKIP_POD_LINK_TESTS
- SKIP_POD_NO404S
- AUTOMATED_TESTING
-) ){
- plan skip_all => "\$ENV{$env_skip} is set, skipping"
- if $ENV{$env_skip};
-}
-
-eval "use Test::Pod::No404s";
-if ( $@ ) {
- plan skip_all => 'Test::Pod::No404s required for testing POD';
-}
-else {
- all_pod_files_ok();
-}
@@ -7,15 +7,25 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
eval "use Pod::Wordlist::hanekomu";
-plan skip_all => "Pod::Wordlist:hanekomu required for testing POD spelling"
+plan skip_all => "Pod::Wordlist::hanekomu required for testing POD spelling"
if $@;
eval "use Test::Spelling";
plan skip_all => "Test::Spelling required for testing POD spelling"
if $@;
+
+
all_pod_files_spelling_ok('lib');
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;
eval "use Test::Pod 1.41";
@@ -7,6 +7,14 @@ BEGIN {
}
}
+#
+# This file is part of Dist-Zilla-Plugin-CPANChangesTests
+#
+# This software is copyright (c) 2011 by Randy Stauner.
+#
+# This is free software; you can redistribute it and/or modify it under
+# the same terms as the Perl 5 programming language system itself.
+#
use Test::More;